<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>

<chiptrack:checkLogon sourcePage="/salesOrder.do"/>
<%@ page import="com.scalar.chiptrack.utils.ConfigManager,
                 com.scalar.chiptrack.sales.forms.quote.QuotationForm,
                 com.scalar.chiptrack.commons.Constants"%>
<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type=text/css rel=stylesheet>

<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY bgColor="#ffffff" leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">

<SCRIPT language="JavaScript">

    function submitPage(action)
    {
        if(action == 'CONFIRM')
            document.QuotationForm.action.value = "ConfirmSalesOrder";
        else if(action == 'EDIT')
            document.QuotationForm.action.value = "EditSalesOrder";

        if ( document.QuotationForm.quotation.value == 'Quotation')
            document.QuotationForm.quotation.value = 0

        document.QuotationForm.submit();
    }


    function showErrorReportPage()
    {
        newWindow = window.open ('<%=chipTracContext%>/reportProblem.do','reportProblem','channelmode=no,directories=no,toolbar=no,menubar=no,personalbar=no,status=no,scrollbars=no,width=750,height=400,resizable=no');
        newWindow.focus();
    }

    function showPrintView()
    {
        window.open('transferQuotation.do?action=printTransferQuote','transferQuotePrintView','channelmode=no,directories=no,toolbar=no,menubar=no,personalbar=no,status=no,scrollbars=yes,width=600,height=600,left=100,top=50,resizable=yes');
    }

</SCRIPT>

<!-- Top Header Start-->

    <%
        String userTypeChiptrac = Constants.USER_TYPE_CHIPTRAC + "";
    %>
    <logic:equal value="<%=userTypeChiptrac%>" name="user" property="userType" scope="session">
        <%@ include file="/jsp/includes/header.jsp" %>
    </logic:equal>
    <logic:notEqual value="<%=userTypeChiptrac%>" name="user" property="userType" scope="session">
        <%@ include file="/jsp/includes/extHeader.jsp" %>
    </logic:notEqual>

<!-- Top Header End-->

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
	<td width='180' valign='top' background='<%=chipTracContext%>/jsp/includes/images/left_red_bg.gif'>

<!-- Side Navigation start -->

<%
    String heading = "";

    if((request.getParameter("isSample") != null) && (request.getParameter("isSample").equals("0")))
    {
         heading = "Sample Order";
    }
    else if((request.getParameter("quotation") != null) && (request.getParameter("quotation").equals("0")))
    {
        heading = "Quote";
    }
    else
    {
        heading = "Sales Order";
    }
%>

        <logic:equal value="<%=userTypeChiptrac%>" name="user" property="userType" scope="session">
            <%@ include file="/jsp/sales/sales_order_menu.jsp" %>
        </logic:equal>
        <logic:notEqual value="<%=userTypeChiptrac%>" name="user" property="userType" scope="session">
            <%@ include file="/jsp/sales/ext_sales_order_menu.jsp" %>
        </logic:notEqual>

<!-- end of the side navigations -->

</TD>

<TD bgcolor="#ffffff">
<IMG height=9 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=8></TD>
<TD bgcolor="#ffffff"><IMG height=480 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=2></TD>
<TD valign="top" width="100%">

<IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/clear.gif" width=500 border=0>
<BR>

<!-- from here your body starts -->

<html:form name="QuotationForm" action="/transferQuotation" method="post" type="com.scalar.chiptrack.sales.forms.QuotationForm">

<input type="hidden" name="quotation" value="<%=heading%>">
<html:hidden name="QuotationForm" property="quotationId" />

<center><span class="NArialW">Transfer Quote Entry</span></center>
<img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=10>

   <table border="0" width="90%" align=right>
   <table border="0" width="90%" align=right>
    <tr><td colspan=6 class="NArialL"><chiptrack:info styleClass="NArialL"  /></td></tr>
    <tr>
       <td colspan=3 class="NArialL">Click here to <a href='javascript:showPrintView();' onmouseover="window.status='Click to Print/View Sales Order Details';return true" onmouseout="window.status='';return true" > view/print </a>Sales Order Details</td>
       <td colspan=2 align=right>
        <a href="javascript:submitPage('EDIT');"><img src="<%=chipTracContext%>/jsp/includes/images/edit.gif" onmouseover="window.status='Click to Edit Transfer Quote';return true" onmouseout="window.status='';return true" title="Click here to Edit transfer Quote" border=0></a>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="javascript:submitPage('CONFIRM');"><img src="<%=chipTracContext%>/jsp/includes/images/confirm.gif" onmouseover="window.status='Click to Confirm Transfer Quote';return true" onmouseout="window.status='';return true" title="Click here to Confirm Transfer Quote" border='0'></a>
       </td>
       <td>&nbsp;</td>
    </tr>
    <tr><td colspan=6>&nbsp;</td></tr>
    <tr>
	   <td width="22%"><font class="NArialL">SalesOrder No :</font></td>
       <td width="22%" class="bodytext"><b><bean:write name="QuotationForm" property="quotationNo"/></b></td>
       <td width="7%">&nbsp;</td>
       <td width="25%"><font class="NArialL">Customer Name :</font></td>
       <td width="22%" class="bodytext"><b><bean:write name="QuotationForm" property="customerName" /></b></td>
       <td width="2%">&nbsp;</td>
    </tr>
     <tr>
       <td width="22%"><font class="NArialL">Customer PO No :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="customerPO" /></td>
       <%--
       <td width="22%"><font class="NArialL">Customer Name :</font></td>
       <td width="22%" class="bodytext"><b><bean:write name="QuotationForm" property="customerName" /></b></td>
       --%>
       <td width="7%">&nbsp;</td>
       <td width="25%"><font class="NArialL"><bean:message key="label.sales.quotation.contactPerson"/> :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="contactPerson" /></td>
       <td width="2%">&nbsp;</td>
     </tr>
     <%--<tr><td colspan=4><font class="NArialL">Please <chiptrack:attachFile fileGroup="SalesOrder-PO" fileSubGroup="AUTO" formTitle="View Attached Sales PO" linkText="click here" allowAttach="false" allowDelete="false"/> to View Attached PO</font></td></tr>--%>
     <tr>
       <td width="22%"><font class="NArialL"><bean:message key="label.sales.salesOrder.PoRevisionNumber"/> :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="poRev" /></td>
       <td width="7%">&nbsp;</td>
       <td width="25%"><font class="NArialL"><bean:message key="label.sales.salesOrder.PoDate"/> :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="poDate" /></td>
       <td width="2%">&nbsp;</td>
     </tr>
     <tr>
       <td width="22%"><font class="NArialL">Phone No :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="phoneNumber" /></td>
       <td width="7%">&nbsp;</td>
       <td width="25%"><font class="NArialL">Cell Phone No :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="cellNumber" /></td>
       <td width="2%">&nbsp;</td>
     </tr>
     <tr>
       <td width="22%"><font class="NArialL">Fax No :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="faxNumber" /></td>
       <td width="7%">&nbsp;</td>
       <td width="25%"><font class="NArialL">Email :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="email" /></td>
       <td width="2%">&nbsp;</td>
     </tr>
     <tr>
       <td width="22%"><font class="NArialL"><bean:message key="label.sales.quotation.salesPerson"/> :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="salesPerson" /></td>
       <td width="7%">&nbsp;</td>
       <td width="25%"><font class="NArialL"><bean:message key="label.sales.salesRep.Name"/> :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="salesRep" /></td>
       <td width="2%">&nbsp;</td>
     </tr>
     <tr>
       <td width="22%"><font class="NArialL"><bean:message key="label.sales.salesOrder.ShippingMethod" /> :</font></td>
       <td width="22%" class="bodytext">
	    <logic:notEqual name="QuotationForm" property="shippingMethod" value="-1">
            <bean:write name="QuotationForm" property="shippingMethod" /></td>
       </logic:notEqual>
       <td width="7%">&nbsp;</td>
       <%-- <td width="22%"><font class="NArialL">Shipping Account</font></td>
       <td width="25%" class="bodytext"><bean:write name="QuotationForm" property="shippingAccount" /></td> --%>
       <td width="22%"><font class="NArialL"><bean:message key="label.sales.quotation.regionalRep"/> : </font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="regionalRep" /></td>
       <td width="2%">&nbsp;</td>

     </tr>
	<tr>
		<logic:equal value="-2" name="QuotationForm" property="endCustomerId">
        <td width="21%" class="NArialL">
			New <bean:message key="label.sales.endUser"/> :
		</td>
        <td width="21%" class="bodytext">
			<bean:write name="QuotationForm" property="newEndUserName"  />
		</td>
		</logic:equal>
		<logic:notEqual value="-2" name="QuotationForm" property="endCustomerId">
		<td width="21%" class="NArialL">
			<bean:message key="label.sales.endUser"/> :
		</td>
		<td width="21%" class="bodytext">
			<bean:write name="QuotationForm" property="endCustomer"  />
		</td>
		</logic:notEqual>
		<td width="3%">
			&nbsp;
		</td>
        <logic:equal value="-2" name="QuotationForm" property="odmId">
        <td width="27%" class="NArialL"> 
			New <bean:message key="label.sales.shipToCustomer"/>
		</td>
        <td width="21%" class="bodytext">
			<bean:write name="QuotationForm" property="newEndCustomerName" />
		</td>
        </logic:equal>
        <logic:notEqual value="-2" name="QuotationForm" property="odmId">
        <td width="27%" class="NArialL">
			<bean:message key="label.sales.shipToCustomer"/>
		</td>
        <td width="21%" class="bodytext">
			<bean:write name="QuotationForm" property="odm" />
		</td>
        </logic:notEqual>
		<td width="3%">&nbsp;</td>
     </tr>
     <%--<tr>
       <td width="22%"><font class="NArialL"><bean:message key="label.sales.endUser"/> :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="endCustomer"  /></td>
       <td width="7%">&nbsp;</td>
       <td width="25%"><font class="NArialL"><bean:message key="label.sales.shipToCustomer"/> :</font></td>
       <td width="22%" class="bodytext"><bean:write name="QuotationForm" property="odm" />
       <td width="2%">&nbsp;</td>
     </tr>--%>
	<tr>
		<td width="22%" class="NArialL">
			Pay Terms :
		</td>
		<td width="22%" class="bodytext">
			<bean:write name="QuotationForm" property="shippingTerms"  />
		</td>
		<td width="7%">
			&nbsp;
		</td>
		<td width="25%" class="NArialL">
			<bean:message key="label.sales.salesOrder.DeliveryTerms" /> :
		</td>
		<td width="22%" class="bodytext">
			<bean:write name="QuotationForm" property="deliveryTerms" />
		</td>
		<td width="2%">
			&nbsp;
		</td>
	</tr>
	<tr>
		<td width="22%" class="NArialL">
			&nbsp;
		</td>
		<td width="22%" class="bodytext">
			&nbsp;
		</td>
		<td width="7%">
			&nbsp;
		</td>
		<td width="25%" class="NArialL">
			Booking Date : 
		</td>
		<td width="22%" class="bodytext">
			<bean:write name="QuotationForm" property="quotationDate" />
		</td>
		<td width="2%">&nbsp;</td>
	</tr>
	<tr>
		<td width="22%" valign="top" class="NArialL">
			Billing Address :
		</td>
		<td width="22%" class="bodytext">
			<%--<bean:write name="QuotationForm" property="billingAddress"/> --%>
			<% QuotationForm quotationForm = (QuotationForm) session.getAttribute("QuotationForm");%>
			<%= quotationForm.getBillingAddressAsHTML()%></td>
		</td>
		<td width="7%">
			&nbsp;
		</td>
		<td width="25%" valign="top" class="NArialL">
			Shipping Address :
		</td>
		<td width="22%" class="bodytext">
			<%-- <bean:write name="QuotationForm" property="shippingAddress"  /> --%>
			<%= quotationForm.getShippingAddressAsHTML()%>
		</td>
		<td width="2%">
			&nbsp;
		</td>
	</tr>
    <tr><td colsapn=6><img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=10></td></tr>
    <tr>
		<td width="22%"><font class="NArialL">Freight Instructions :</font></td>
		<td width="22%" class="bodytext"><bean:write name="QuotationForm" property="freightInstructions"/></td>
		<td width="7%">&nbsp;</td>
		<td width="25%"><font class="NArialL">Shipping Instructions :</font></td>
		<td width="22%" class="bodytext"><bean:write name="QuotationForm" property="shippingInstructions" /></td>
		<td width="2%">&nbsp;</td>
	</tr>
	<tr><td colspan=6><img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=20></td></tr>
	<tr>
		<td width="22%"><font class="NArialL">Quotation Expires On :</font></td>
		<td width="22%" class="bodytext">
			<bean:write name="QuotationForm" property="expiryDate"/>
		</td>
		<td width="7%">&nbsp;</td>
		<td width="25%">&nbsp;</td>
		<td width="22%">&nbsp;</td>
		<td width="2%">&nbsp;</td>
	</tr>
    <tr>
		<td width="22%" class="NArialL">Comments :</td>
		<td width="78%" class="bodytext" colspan="5">
			<bean:write name="QuotationForm" property="comments"/>
		</td>
	</tr>
	<tr>
		<td width="22%">&nbsp;</td>
		<td width="22%">&nbsp;</td>
		<td width="7%">&nbsp;</td>
		<td width="25%">&nbsp;</td>
		<td width="22%">&nbsp;</td>
		<td width="2%">&nbsp;</td>
	</tr>
    <tr><td colspan=6><img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=20></td></tr>

     <tr><td colspan=6>
       <table border="0" width="95%" bordercolor="#FFFFFF">
	 <tr>
       <td width="8%" align="center" bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">Close</font></font></td>
       <td width="8%" align="center" bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">Transfer</font></font></td>

		<td width="8%" align="center" bgcolor="#993333"><font class="NArialL">
			<font color="#FFFFFF">Line Item</font></font></td>
		<td width="8%" align="center" bgcolor="#993333"><font class="NArialL">
			<font color="#FFFFFF">PO Line Item</font></font></td>
		<td width="20%" align="center" bgcolor="#993333"><font class="NArialL">
		    <!-- Modified by veeru on (03/05/04) 
			<font color="#FFFFFF">Mfg Part Number</font> -->
			<font color="#FFFFFF"><bean:message key="label.mfgPartNumber" /></font></font>
		</td>
		<td width="20%" align="center" bgcolor="#993333"><font class="NArialL">
			<font color="#FFFFFF">
				<!-- Modified by veeru on (03/09/04)
				Customer PartNo                       ------>
				<bean:message key="label.customerPartNumber"/>
			</font></font></td>
        <%if(Constants.CLIENT_NAME_AIRGO.equalsIgnoreCase(ConfigManager.getClientNameAirgo() )){ %>
        <td width="20%" align="center" bgcolor="#993333"><font class="NArialL">
			<font color="#FFFFFF"><bean:message key="label.labelNumber"/>
			</font></font></td>
        <%}%>
		<td width="20%" align="center" bgcolor="#993333"><font class="NArialL">
			<font color="#FFFFFF">Description</font></font></td>
		<td width="1%" align=center bgcolor="#993333"><font class="NArialL">
			<font color="#FFFFFF">Taxable</font></font></td>
		<td width="15%" align="center" bgcolor="#993333"><font class="NArialL">
			<font color="#FFFFFF">Req'd Dock Date</font></font></td>
<%--        <td width="15%" align="center" bgcolor="#993333"><font class="NArialL">
			<font color="#FFFFFF">Lead Time</font></td>--%>
        <td width="5%" align="center" bgcolor="#993333"><font class="NArialL">
			<font color="#FFFFFF">Quantity</font></font></td>
		<td width="10%" align="center" bgcolor="#993333"><font class="NArialL">
			<font color="#FFFFFF">Price </font></font></td>
		<td width="15%" align="center" bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">Amount</font></font></td>
      </tr>

<%-- Modified by Prabhanjan on 07 Mar 2004 to display subtotals --%>
<logic:iterate id="myHashMap" name="lineItemsWithSubtotals">
    <logic:iterate id="lineItemList" name="myHashMap" >
          <logic:iterate id="LineItem" name="lineItemList" property="key" type="com.scalar.chiptrack.sales.LineItem">

      <%-- <logic:iterate id="LineItem" name="lineItems"> --%>

      <tr>

	   <td width="8%" bgcolor="#DEE1E2" class="bodytext" align=center>
       <logic:equal name="LineItem" property="isClose" value="true" >
            CLOSED
       </logic:equal>
       <logic:notEqual name="LineItem" property="isClose" value="true" >
            OPEN
       </logic:notEqual>
       </td>

	   <td width="8%" bgcolor="#DEE1E2" class="bodytext" align=center>
       <logic:equal name="LineItem" property="isTransfer" value="true" >
            TRANSFERRED
       </logic:equal>
       <logic:notEqual name="LineItem" property="isTransfer" value="true" >
            NOT TRANSFERRED
       </logic:notEqual>
       </td>


		   <td width="8%" bgcolor="#DEE1E2" class="bodytext" align=center>
					<bean:write name="LineItem" property="lineItemNo" /></td>
			<td width="8%" bgcolor="#DEE1E2" class="bodytext" align=center>
					<bean:write name="LineItem" property="poLineItemNo" /></td>
	       <td width="20%" bgcolor="#DEE1E2" class="bodytext" align=center>
                <bean:write name="LineItem" property="manufacturingPartNo"/></td>
		  <td width="20%" bgcolor="#DEE1E2" class="bodytext" align=center>
                <logic:equal value="-2" name="LineItem" property="customerPartNo">
                        <bean:write name="LineItem" property="newCustomerPartNo"/>
                    </logic:equal>
                    <logic:notEqual value="-2" name="LineItem" property="customerPartNo">
                        <bean:write name="LineItem" property="customerPartNo"/>
                    </logic:notEqual>
          </td>
           <%if(Constants.CLIENT_NAME_AIRGO.equalsIgnoreCase(ConfigManager.getClientNameAirgo() )){ %>
           <td width="20%" bgcolor="#DEE1E2" class="bodytext" align=center>
                <bean:write name="LineItem" property="labelNumber"/></td>
           <%}%>
           <td width="20%" bgcolor="#DEE1E2" class="bodytext" align=center>
           <!-- ** Sharath on 4th July 03.-->
                <bean:write name="LineItem" property="lineItemDescription"/></td>
           <td width="1%" bgcolor="#DEE1E2" class="bodytext" align=center>
                <bean:write name="LineItem" property="isTaxableAsString"/></td>
           <td width="15%" bgcolor="#DEE1E2" class="bodytext" align=center>
                <bean:write name="LineItem" property="requestDate"/></td>
<%--
          <td width="15%" bgcolor="#DEE1E2" class="bodytext" align=center>
                <bean:write name="LineItem" property="leadTime"/></td>
--%>
           <td width="5%" bgcolor="#DEE1E2" class="bodytext" align=right>
                <bean:write name="LineItem" property="qtyAsString"/></td>
	   <td width="10%" bgcolor="#DEE1E2" class="bodytext" align=right>
                <bean:write name="LineItem" property="unitPriceAsString"/></td>
           <td width="15%" bgcolor="#DEE1E2" class="bodytext" align=right>
                <bean:write name="LineItem" property="amountAsString"/></td>
     </tr>
     </logic:iterate>
<%-- Added by Prabhanjan on 07 Mar 2004 --%>
        <tr>
             <%if(Constants.CLIENT_NAME_AIRGO.equalsIgnoreCase(ConfigManager.getClientNameAirgo() )){ %>
            <td colspan="10" width="15%" bgcolor="#FFFFFF" class="NArialL" align="right">
                Sub Total
            </td>
            <%}else{%>
            <td colspan="9" width="15%" bgcolor="#FFFFFF" class="NArialL" align="right">
                Sub Total
            </td>
            <%}%>
            <%-- Modified by Prabhanjan (3 Arp 2004) --%>
            <bean:define id="subTotal" name="lineItemList" property="value" type="com.scalar.chiptrack.sales.SubTotal"/>
            <td colspan="1" width="15%" bgcolor="#FFFFFF" class="NArialL" align="right">
                <bean:write name="subTotal" property="subTotalQty" />
            </td>
            <td>&nbsp;</td>
            <td colspan="1" width="15%" bgcolor="#FFFFFF" class="NArialL" align="right">
                <bean:write name="subTotal" property="subTotalAmt" />
            </td>
        </tr>
   </logic:iterate>
</logic:iterate>
<%-- Till here Prabhanjan on 07 Mar 2004 --%>


     <tr>
        <td></td>
        <%if(Constants.CLIENT_NAME_AIRGO.equalsIgnoreCase(ConfigManager.getClientNameAirgo() )){ %>
        <td colspan=9 class="NArialL" align="center"></td>
        <%}else{%>
        <td colspan=8 class="NArialL" align="center"></td>
        <%}%>
        <td bgcolor="#DEE1E2" class="NArialL" align="right"><bean:write name="QuotationForm" property="totalQty" /></td>
        <td class="NArialL" align="right">Sub Total</td>
        <td bgcolor="#DEE1E2" class="NArialL" align="right"><bean:write name="QuotationForm" property="subTotalAsString" /></td>
     </tr>
     <tr>
        <td></td>
		<td colspan=5 width="35%"class="NArialL" align=right>Sales Tax State</td>
        <td width="15%" class="NArialL" align=right>
            <html:select name="QuotationForm" property="salesTaxType" styleClass="txfield" disabled= "true">
                <html:option value="0">Non Taxable</html:option>
                <html:options collection="salesTaxes" property="value" labelProperty="label" />
            </html:select>
        </td>
        <%if(Constants.CLIENT_NAME_AIRGO.equalsIgnoreCase(ConfigManager.getClientNameAirgo() )){ %>
        <td  colspan=5 width="35%" align=right class="NArialL">Sales Tax</td>
        <%}else{%>
        <td  colspan=4 width="35%" align=right class="NArialL">Sales Tax</td>
        <%}%>
	    <%--<td  colspan=4 width="35%" align=right class="NArialL">Sales Tax</td>--%>
        <td width="15%" bgcolor='#DEE1E2' class="NArialL" align="right"><bean:write name="QuotationForm" property="salesTaxAsString" /></td>
     </tr>
     <%  int colSpan = 10;
         if(Constants.CLIENT_NAME_AIRGO.equalsIgnoreCase(ConfigManager.getClientNameAirgo() )){
            colSpan = 11;
            }%>
    <tr>
        <td></td>
        <td colspan=<%=colSpan%> align=right class="NArialL">Freight</td>
        <td bgcolor='#DEE1E2' class="NArialL" align="right"><bean:write name="QuotationForm" property="frieghtAsString" /></td>
     </tr>
    <tr>
        <td></td>
        <td colspan=<%=colSpan%> align=right class="NArialL"><bean:write name="QuotationForm" property="miscName"/></td>
        <td bgcolor='#DEE1E2' class="NArialL" align="right"><bean:write name="QuotationForm" property="miscAsString" /></td>
     </tr>
    <tr>
        <td></td>
        <td colspan=<%=colSpan%> align=right class="NArialL">Order Total</td>
        <td bgcolor='#DEE1E2' class="NArialL" align="right"><bean:write name="QuotationForm" property="orderTotalAsString" /></td>
     </tr>
   </table>

   </table>
   <%--
  <tr><td colspan=6><img src='<%=chipTracContext%>/jsp/includes/images/spacer.gif' height='20'></td></tr>
   <tr><td colspan=6 align=center>
    <a href="javascript:submitPage('CONFIRM');"><img src="<%=chipTracContext%>/jsp/includes/images/confirm.gif" border='0'></a>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <a href="javascript:submitPage('EDIT');"><img src="<%=chipTracContext%>/jsp/includes/images/edit.gif" border=0></a></td></tr>
    </td></tr>
    --%>
    </table>
<html:hidden property="customerName" />
<html:hidden property="customerId" />
<input type="hidden" name="action" value="">
<input type="hidden" name="hdnShippingMethodName" value="<bean:write name="QuotationForm" property="shippingMethod" />" >
<input type="hidden" name="hdnshippingAccount" value="<bean:write name="QuotationForm" property="shippingAccount" />" >
<input type="hidden" name="isSample" value="<%=request.getParameter("isSample")%>">
<input type="hidden" name="shipAccount1" value="<bean:write name="QuotationForm" property="shippingMethod" />"/>
<input type="hidden" name="odmId" value="<bean:write name="QuotationForm" property="odmId" />"/>
</html:form>

<!-- till here -->

<BR><BR><BR></TD>
<TD bgcolor="#ffffff"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
</TR>
</TABLE>

<!-- Footer starts here -->

<%@ include file="/jsp/includes/footer.jsp" %>

<!-- footer end here -->

</BODY>
</HTML>
